Other Functions

The following functions are available globally.

  • Returns YES if the coordinate is within the coordinate bounds.

    Declaration

    Objective-C

    static inline BOOL
    MGLCoordinateInCoordinateBounds(CLLocationCoordinate2D coordinate,
                                    MGLCoordinateBounds bounds)

    Swift

    func MGLCoordinateInCoordinateBounds(coordinate: CLLocationCoordinate2D, _ bounds: MGLCoordinateBounds) -> Bool